Skip to content

feat: Add OpaClient to wrap auth checks#1541

Draft
tpoliaw wants to merge 8 commits into
mainfrom
opa-client
Draft

feat: Add OpaClient to wrap auth checks#1541
tpoliaw wants to merge 8 commits into
mainfrom
opa-client

Conversation

@tpoliaw
Copy link
Copy Markdown
Contributor

@tpoliaw tpoliaw commented May 15, 2026

Proof of concept opa client with dependency injection and example check

@tpoliaw tpoliaw changed the title feat: Add OpaClient to wrap auth checks" feat: Add OpaClient to wrap auth checks May 15, 2026
Comment thread src/blueapi/service/main.py Fixed
@tpoliaw tpoliaw force-pushed the opa-client branch 2 times, most recently from e8ddc77 to db3325b Compare May 15, 2026 15:31
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 56.17978% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.32%. Comparing base (7d8ff57) to head (ab6a11f).

Files with missing lines Patch % Lines
src/blueapi/service/authorization.py 53.19% 22 Missing ⚠️
src/blueapi/service/main.py 54.05% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1541      +/-   ##
==========================================
- Coverage   95.36%   94.32%   -1.04%     
==========================================
  Files          43       44       +1     
  Lines        3214     3297      +83     
==========================================
+ Hits         3065     3110      +45     
- Misses        149      187      +38     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

tpoliaw added 8 commits May 20, 2026 10:51
Proof of concept opa client with dependency injection and example check
Package was already a transitive dependency but is now being used
instead of adding more uses of httpx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant